package com.yami.shop.rights.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yami.shop.rights.common.dto.PersonRightsDto;
import com.yami.shop.rights.common.model.PersonRights;
import com.yami.shop.rights.common.model.ProdRights;
import com.yami.shop.rights.common.vo.PersonRightsVo;
import com.yami.shop.rights.common.vo.PersonnftRightsVo;
import com.yami.shop.rights.common.vo.ProdRightsVo;

import java.util.List;

public interface PersonRightsService extends IService<PersonRights> {

    List<ProdRights> listUserByRightsIds(String userId, String rightsIds);

    ProdRightsVo getProdRightsById(Long personRightsId,String userId);
    PersonnftRightsVo  getProdRightsInfoById(Long personRightsId);
    ProdRightsVo getProdInfoByPersonRightsId(Long personRightsId);

    List<PersonRightsDto> getPersonRightsByTokenId(String tokenId);

    // 通过TokenId 获取 权益列表信息
    List<PersonRightsVo> getPersonRightsByRightsId(String tokenId);

    List<PersonRightsVo> getPersonRightsByPersonRightsId(Long personRightsId);

    Boolean getRightsStatusByPerson(String tokenId);
}
